import { reactive } from "vue";

export const CategoryRules = reactive({
  name: [
    {
      required: true,
      message: '请输入名称',
      trigger: 'blur'
    }
  ],
  nickname: [
    {
      required: true,
      message: '请输入昵称',
      trigger: 'blur'
    }
  ],
  desc: [
    {
      required: true,
      message: '请输入描述',
      trigger: 'blur'
    }
  ],
  cover: [
    {
      required: true,
      message: '请上传封面',
      trigger: 'blur'
    }
  ]
})
